import { configureStore } from '@reduxjs/toolkit'
import countReducer from './modules/count'
import bannerReducer from './modules/banner'

const store = configureStore({
  reducer: {
    // 添加reducer
    count: countReducer,
    banner: bannerReducer
  },
  // middleware: () => {
  //   // 添加中间件
  // },
  // devTools: true
})

export default store